<include file="App/Home/View/Public/header.html"/>
	<div id="account-main" role="main">
		<div class="container account-content">
			<div class="row">
				 <include file="App/Home/View/Public/left.html"/>
				<div class="col-xs-9 account-right"> 
					<div id="coin-deposit">
						<h1 class="title">转入{$currency.currency_mark}</h1>
						<div id="coin-address-info">
							<figure class="pull-right">
							</figure>
							<div class="edc-address-info">
								<span class="address"> 这是您的{$currency.currency_mark}钱包地址，请将您的{$currency.currency_mark}转入此地址：<br>
									<span class="edc-address">
										{$list['chongzhi_url']} </span>
								</span>
							</div>
						</div>
						<div class="commonnotice">
							<p>
								转入说明<br> 1、转入是自动的，{$currency.currency_mark}转账需要整个网络进行确认，达到3个确认后您的{$currency.currency_mark}会自动充值到您的账户。<br>
								2、此地址是您唯一且独立使用的转入地址，您可以同时进行多次充值。
							</p>
						</div>
						<h2>充币记录</h2>
						<table class="table" id="coin-deposit-record">
							<thead>
								<tr>
									<th>记录ID</th>
									<th>转入地址</th>
									<th>转入数量</th>
									<th>确认数</th>
									<th>操作时间</th>
									<th>状态</th>
								</tr>
							</thead>
							<tbody>
								<volist name="chongzhi" id='vo'>
						            <tr>
						                <td>{$vo.id}</td>
						                <td>{$vo.url}</td>
						                <td>{$vo.num}</td>
						                <td>{$vo.num}</td>
										<td>{$vo.add_time|date="Y-m-d H:i:s",###}</td>
						                <td><eq name="vo.status" value='2'>等待中<else/>充值成功</eq></td>
						            </tr>
								</volist>
							</tbody>
						</table>
						<div class="cover" hidden="">
							<div id="qrcodeLarge"></div>
						</div>
					</div>
					<div class="row new-page">
						<div class="col-sm-12 text-center">
							<ul class="pagination">
								{$page}
							</ul>
						</div>
					</div> 
					<input type="hidden" id="currency_id" value="{$currency.currency_id}">
				</div>
			</div>
		</div>
	</div>
	<script>
    setInterval("myInterval()",1000);//1000为1秒钟
       function myInterval()
       {
	   	var id=$("#currency_id").val();
			
           $.post('{:U('Pay/chongzhi_function')}',{currency_id:id},function(data){
			   if(data.status==1){
				   location.reload();     
				   }
			})
        }

</script>
	<include file="App/Home/View/Public/footer.html" />